package com.financing.wap.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.financing.wap.dao.IDiscussDao;

import com.financing.wap.dto.DiscussDTO;

import com.financing.wap.service.IDiscussService;


@Service("discussService")
public class IDiscussServiceImpl implements IDiscussService{

	@Autowired
	private IDiscussDao discussDao;

	@Override
	public List<DiscussDTO> getDiscussDTOList(DiscussDTO dto) {
		
		return discussDao.getDiscussDTOList(dto);
	}

	@Override
	public int insertDiscussDTO(DiscussDTO dto) {
		
		return discussDao.insertDiscussDTO(dto);
	}
	
	

}
